PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Menu Manager >

Mac OS 8.5 Menu Manager Reference


GetMenuFont

Obtains the font used in a menu.

pascal OSStatus GetMenuFont (
                     MenuHandle menu,
                     SInt16 *outFontID,
                     UInt16 *outFontSize);
menu
A value of type MenuHandle . Pass a handle to the menu whose font is to be obtained.
outFontID
A pointer to a signed 16-bit integer. On return, this value identifies the font family ID for the menu font.
outFontSize
A pointer to an unsigned 16-bit integer. On return, this value identifies the size of the font, in points.
function result
A result code. See Result Codes for the Mac OS 8.5 Menu Manager .

DISCUSSION

Your application may use the GetMenuFont function to retrieve the font for an individual menu, such as a pop-up menu.


VERSION NOTES

Available with Mac OS 8.5 and later.


© 1999 Apple Computer, Inc. — (Last Updated 19 Jan 99)